<nav class="navbar navbar-default navbar-fixed-top active">
    <div class="container active">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="__ROOT__/">{$theme_vars.company_name|default='ThinkCMF'}</a>
        </div>

        <!--后台导航 id 为1-->
        <navigation nav-id="1" root="ul" id="main-navigation" class="nav navbar-nav navbar-nav-custom">
            <navigationMenu root="li" class="menu-item menu-item-level-{$level}">
                <a href="{$menu.href|default=''}" target="{$menu.target|default=''}">{$menu.name|default=''}</a>
            </navigationMenu>
            <navigationFolder root="li" class="dropdown dropdown-custom dropdown-custom-level-{$level}" dropdown="ul"
                              dropdown-class="dropdown-menu dropdown-menu-level-{$level}">
                <a href="#" class="dropdown-toggle dropdown-toggle-{$level}" data-toggle="dropdown">
                    {$menu.name|default=''}<span class="caret"></span>
                </a>
            </navigationFolder>
        </navigation>

    </div>
</nav>